package com.demo.starter.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EstNewsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EstNewsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPkIsNull() {
            addCriterion("pk is null");
            return (Criteria) this;
        }

        public Criteria andPkIsNotNull() {
            addCriterion("pk is not null");
            return (Criteria) this;
        }

        public Criteria andPkEqualTo(String value) {
            addCriterion("pk =", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkNotEqualTo(String value) {
            addCriterion("pk <>", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkGreaterThan(String value) {
            addCriterion("pk >", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkGreaterThanOrEqualTo(String value) {
            addCriterion("pk >=", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkLessThan(String value) {
            addCriterion("pk <", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkLessThanOrEqualTo(String value) {
            addCriterion("pk <=", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkLike(String value) {
            addCriterion("pk like", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkNotLike(String value) {
            addCriterion("pk not like", value, "pk");
            return (Criteria) this;
        }

        public Criteria andPkIn(List<String> values) {
            addCriterion("pk in", values, "pk");
            return (Criteria) this;
        }

        public Criteria andPkNotIn(List<String> values) {
            addCriterion("pk not in", values, "pk");
            return (Criteria) this;
        }

        public Criteria andPkBetween(String value1, String value2) {
            addCriterion("pk between", value1, value2, "pk");
            return (Criteria) this;
        }

        public Criteria andPkNotBetween(String value1, String value2) {
            addCriterion("pk not between", value1, value2, "pk");
            return (Criteria) this;
        }

        public Criteria andRowkeyIsNull() {
            addCriterion("rowkey is null");
            return (Criteria) this;
        }

        public Criteria andRowkeyIsNotNull() {
            addCriterion("rowkey is not null");
            return (Criteria) this;
        }

        public Criteria andRowkeyEqualTo(String value) {
            addCriterion("rowkey =", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyNotEqualTo(String value) {
            addCriterion("rowkey <>", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyGreaterThan(String value) {
            addCriterion("rowkey >", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyGreaterThanOrEqualTo(String value) {
            addCriterion("rowkey >=", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyLessThan(String value) {
            addCriterion("rowkey <", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyLessThanOrEqualTo(String value) {
            addCriterion("rowkey <=", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyLike(String value) {
            addCriterion("rowkey like", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyNotLike(String value) {
            addCriterion("rowkey not like", value, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyIn(List<String> values) {
            addCriterion("rowkey in", values, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyNotIn(List<String> values) {
            addCriterion("rowkey not in", values, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyBetween(String value1, String value2) {
            addCriterion("rowkey between", value1, value2, "rowkey");
            return (Criteria) this;
        }

        public Criteria andRowkeyNotBetween(String value1, String value2) {
            addCriterion("rowkey not between", value1, value2, "rowkey");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTopicIsNull() {
            addCriterion("topic is null");
            return (Criteria) this;
        }

        public Criteria andTopicIsNotNull() {
            addCriterion("topic is not null");
            return (Criteria) this;
        }

        public Criteria andTopicEqualTo(String value) {
            addCriterion("topic =", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotEqualTo(String value) {
            addCriterion("topic <>", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThan(String value) {
            addCriterion("topic >", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanOrEqualTo(String value) {
            addCriterion("topic >=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThan(String value) {
            addCriterion("topic <", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThanOrEqualTo(String value) {
            addCriterion("topic <=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLike(String value) {
            addCriterion("topic like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotLike(String value) {
            addCriterion("topic not like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicIn(List<String> values) {
            addCriterion("topic in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotIn(List<String> values) {
            addCriterion("topic not in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicBetween(String value1, String value2) {
            addCriterion("topic between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotBetween(String value1, String value2) {
            addCriterion("topic not between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("source is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("source is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(String value) {
            addCriterion("source =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotEqualTo(String value) {
            addCriterion("source <>", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThan(String value) {
            addCriterion("source >", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThanOrEqualTo(String value) {
            addCriterion("source >=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThan(String value) {
            addCriterion("source <", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThanOrEqualTo(String value) {
            addCriterion("source <=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLike(String value) {
            addCriterion("source like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotLike(String value) {
            addCriterion("source not like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<String> values) {
            addCriterion("source in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<String> values) {
            addCriterion("source not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(String value1, String value2) {
            addCriterion("source between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(String value1, String value2) {
            addCriterion("source not between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceurlIsNull() {
            addCriterion("sourceurl is null");
            return (Criteria) this;
        }

        public Criteria andSourceurlIsNotNull() {
            addCriterion("sourceurl is not null");
            return (Criteria) this;
        }

        public Criteria andSourceurlEqualTo(String value) {
            addCriterion("sourceurl =", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlNotEqualTo(String value) {
            addCriterion("sourceurl <>", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlGreaterThan(String value) {
            addCriterion("sourceurl >", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlGreaterThanOrEqualTo(String value) {
            addCriterion("sourceurl >=", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlLessThan(String value) {
            addCriterion("sourceurl <", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlLessThanOrEqualTo(String value) {
            addCriterion("sourceurl <=", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlLike(String value) {
            addCriterion("sourceurl like", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlNotLike(String value) {
            addCriterion("sourceurl not like", value, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlIn(List<String> values) {
            addCriterion("sourceurl in", values, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlNotIn(List<String> values) {
            addCriterion("sourceurl not in", values, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlBetween(String value1, String value2) {
            addCriterion("sourceurl between", value1, value2, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andSourceurlNotBetween(String value1, String value2) {
            addCriterion("sourceurl not between", value1, value2, "sourceurl");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterion("date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterion("date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterion("date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterion("date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterion("date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterion("date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterion("date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterion("date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterion("date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterion("date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andIspicnewsIsNull() {
            addCriterion("ispicnews is null");
            return (Criteria) this;
        }

        public Criteria andIspicnewsIsNotNull() {
            addCriterion("ispicnews is not null");
            return (Criteria) this;
        }

        public Criteria andIspicnewsEqualTo(Integer value) {
            addCriterion("ispicnews =", value, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsNotEqualTo(Integer value) {
            addCriterion("ispicnews <>", value, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsGreaterThan(Integer value) {
            addCriterion("ispicnews >", value, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsGreaterThanOrEqualTo(Integer value) {
            addCriterion("ispicnews >=", value, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsLessThan(Integer value) {
            addCriterion("ispicnews <", value, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsLessThanOrEqualTo(Integer value) {
            addCriterion("ispicnews <=", value, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsIn(List<Integer> values) {
            addCriterion("ispicnews in", values, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsNotIn(List<Integer> values) {
            addCriterion("ispicnews not in", values, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsBetween(Integer value1, Integer value2) {
            addCriterion("ispicnews between", value1, value2, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andIspicnewsNotBetween(Integer value1, Integer value2) {
            addCriterion("ispicnews not between", value1, value2, "ispicnews");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeIsNull() {
            addCriterion("miniimg_size is null");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeIsNotNull() {
            addCriterion("miniimg_size is not null");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeEqualTo(Integer value) {
            addCriterion("miniimg_size =", value, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeNotEqualTo(Integer value) {
            addCriterion("miniimg_size <>", value, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeGreaterThan(Integer value) {
            addCriterion("miniimg_size >", value, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("miniimg_size >=", value, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeLessThan(Integer value) {
            addCriterion("miniimg_size <", value, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeLessThanOrEqualTo(Integer value) {
            addCriterion("miniimg_size <=", value, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeIn(List<Integer> values) {
            addCriterion("miniimg_size in", values, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeNotIn(List<Integer> values) {
            addCriterion("miniimg_size not in", values, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeBetween(Integer value1, Integer value2) {
            addCriterion("miniimg_size between", value1, value2, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andMiniimgSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("miniimg_size not between", value1, value2, "miniimgSize");
            return (Criteria) this;
        }

        public Criteria andHotnewsIsNull() {
            addCriterion("hotnews is null");
            return (Criteria) this;
        }

        public Criteria andHotnewsIsNotNull() {
            addCriterion("hotnews is not null");
            return (Criteria) this;
        }

        public Criteria andHotnewsEqualTo(Integer value) {
            addCriterion("hotnews =", value, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsNotEqualTo(Integer value) {
            addCriterion("hotnews <>", value, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsGreaterThan(Integer value) {
            addCriterion("hotnews >", value, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsGreaterThanOrEqualTo(Integer value) {
            addCriterion("hotnews >=", value, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsLessThan(Integer value) {
            addCriterion("hotnews <", value, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsLessThanOrEqualTo(Integer value) {
            addCriterion("hotnews <=", value, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsIn(List<Integer> values) {
            addCriterion("hotnews in", values, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsNotIn(List<Integer> values) {
            addCriterion("hotnews not in", values, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsBetween(Integer value1, Integer value2) {
            addCriterion("hotnews between", value1, value2, "hotnews");
            return (Criteria) this;
        }

        public Criteria andHotnewsNotBetween(Integer value1, Integer value2) {
            addCriterion("hotnews not between", value1, value2, "hotnews");
            return (Criteria) this;
        }

        public Criteria andPicnumsIsNull() {
            addCriterion("picnums is null");
            return (Criteria) this;
        }

        public Criteria andPicnumsIsNotNull() {
            addCriterion("picnums is not null");
            return (Criteria) this;
        }

        public Criteria andPicnumsEqualTo(Integer value) {
            addCriterion("picnums =", value, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsNotEqualTo(Integer value) {
            addCriterion("picnums <>", value, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsGreaterThan(Integer value) {
            addCriterion("picnums >", value, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsGreaterThanOrEqualTo(Integer value) {
            addCriterion("picnums >=", value, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsLessThan(Integer value) {
            addCriterion("picnums <", value, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsLessThanOrEqualTo(Integer value) {
            addCriterion("picnums <=", value, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsIn(List<Integer> values) {
            addCriterion("picnums in", values, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsNotIn(List<Integer> values) {
            addCriterion("picnums not in", values, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsBetween(Integer value1, Integer value2) {
            addCriterion("picnums between", value1, value2, "picnums");
            return (Criteria) this;
        }

        public Criteria andPicnumsNotBetween(Integer value1, Integer value2) {
            addCriterion("picnums not between", value1, value2, "picnums");
            return (Criteria) this;
        }

        public Criteria andUrlpvIsNull() {
            addCriterion("urlpv is null");
            return (Criteria) this;
        }

        public Criteria andUrlpvIsNotNull() {
            addCriterion("urlpv is not null");
            return (Criteria) this;
        }

        public Criteria andUrlpvEqualTo(Long value) {
            addCriterion("urlpv =", value, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvNotEqualTo(Long value) {
            addCriterion("urlpv <>", value, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvGreaterThan(Long value) {
            addCriterion("urlpv >", value, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvGreaterThanOrEqualTo(Long value) {
            addCriterion("urlpv >=", value, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvLessThan(Long value) {
            addCriterion("urlpv <", value, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvLessThanOrEqualTo(Long value) {
            addCriterion("urlpv <=", value, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvIn(List<Long> values) {
            addCriterion("urlpv in", values, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvNotIn(List<Long> values) {
            addCriterion("urlpv not in", values, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvBetween(Long value1, Long value2) {
            addCriterion("urlpv between", value1, value2, "urlpv");
            return (Criteria) this;
        }

        public Criteria andUrlpvNotBetween(Long value1, Long value2) {
            addCriterion("urlpv not between", value1, value2, "urlpv");
            return (Criteria) this;
        }

        public Criteria andPraisecntIsNull() {
            addCriterion("praisecnt is null");
            return (Criteria) this;
        }

        public Criteria andPraisecntIsNotNull() {
            addCriterion("praisecnt is not null");
            return (Criteria) this;
        }

        public Criteria andPraisecntEqualTo(Long value) {
            addCriterion("praisecnt =", value, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntNotEqualTo(Long value) {
            addCriterion("praisecnt <>", value, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntGreaterThan(Long value) {
            addCriterion("praisecnt >", value, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntGreaterThanOrEqualTo(Long value) {
            addCriterion("praisecnt >=", value, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntLessThan(Long value) {
            addCriterion("praisecnt <", value, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntLessThanOrEqualTo(Long value) {
            addCriterion("praisecnt <=", value, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntIn(List<Long> values) {
            addCriterion("praisecnt in", values, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntNotIn(List<Long> values) {
            addCriterion("praisecnt not in", values, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntBetween(Long value1, Long value2) {
            addCriterion("praisecnt between", value1, value2, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andPraisecntNotBetween(Long value1, Long value2) {
            addCriterion("praisecnt not between", value1, value2, "praisecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntIsNull() {
            addCriterion("tramplecnt is null");
            return (Criteria) this;
        }

        public Criteria andTramplecntIsNotNull() {
            addCriterion("tramplecnt is not null");
            return (Criteria) this;
        }

        public Criteria andTramplecntEqualTo(Long value) {
            addCriterion("tramplecnt =", value, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntNotEqualTo(Long value) {
            addCriterion("tramplecnt <>", value, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntGreaterThan(Long value) {
            addCriterion("tramplecnt >", value, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntGreaterThanOrEqualTo(Long value) {
            addCriterion("tramplecnt >=", value, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntLessThan(Long value) {
            addCriterion("tramplecnt <", value, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntLessThanOrEqualTo(Long value) {
            addCriterion("tramplecnt <=", value, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntIn(List<Long> values) {
            addCriterion("tramplecnt in", values, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntNotIn(List<Long> values) {
            addCriterion("tramplecnt not in", values, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntBetween(Long value1, Long value2) {
            addCriterion("tramplecnt between", value1, value2, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andTramplecntNotBetween(Long value1, Long value2) {
            addCriterion("tramplecnt not between", value1, value2, "tramplecnt");
            return (Criteria) this;
        }

        public Criteria andCountViewIsNull() {
            addCriterion("count_view is null");
            return (Criteria) this;
        }

        public Criteria andCountViewIsNotNull() {
            addCriterion("count_view is not null");
            return (Criteria) this;
        }

        public Criteria andCountViewEqualTo(Long value) {
            addCriterion("count_view =", value, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewNotEqualTo(Long value) {
            addCriterion("count_view <>", value, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewGreaterThan(Long value) {
            addCriterion("count_view >", value, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewGreaterThanOrEqualTo(Long value) {
            addCriterion("count_view >=", value, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewLessThan(Long value) {
            addCriterion("count_view <", value, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewLessThanOrEqualTo(Long value) {
            addCriterion("count_view <=", value, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewIn(List<Long> values) {
            addCriterion("count_view in", values, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewNotIn(List<Long> values) {
            addCriterion("count_view not in", values, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewBetween(Long value1, Long value2) {
            addCriterion("count_view between", value1, value2, "countView");
            return (Criteria) this;
        }

        public Criteria andCountViewNotBetween(Long value1, Long value2) {
            addCriterion("count_view not between", value1, value2, "countView");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeIsNull() {
            addCriterion("miniimg02_size is null");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeIsNotNull() {
            addCriterion("miniimg02_size is not null");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeEqualTo(Integer value) {
            addCriterion("miniimg02_size =", value, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeNotEqualTo(Integer value) {
            addCriterion("miniimg02_size <>", value, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeGreaterThan(Integer value) {
            addCriterion("miniimg02_size >", value, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("miniimg02_size >=", value, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeLessThan(Integer value) {
            addCriterion("miniimg02_size <", value, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeLessThanOrEqualTo(Integer value) {
            addCriterion("miniimg02_size <=", value, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeIn(List<Integer> values) {
            addCriterion("miniimg02_size in", values, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeNotIn(List<Integer> values) {
            addCriterion("miniimg02_size not in", values, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeBetween(Integer value1, Integer value2) {
            addCriterion("miniimg02_size between", value1, value2, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMiniimg02SizeNotBetween(Integer value1, Integer value2) {
            addCriterion("miniimg02_size not between", value1, value2, "miniimg02Size");
            return (Criteria) this;
        }

        public Criteria andMThumbIsNull() {
            addCriterion("m_thumb is null");
            return (Criteria) this;
        }

        public Criteria andMThumbIsNotNull() {
            addCriterion("m_thumb is not null");
            return (Criteria) this;
        }

        public Criteria andMThumbEqualTo(String value) {
            addCriterion("m_thumb =", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbNotEqualTo(String value) {
            addCriterion("m_thumb <>", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbGreaterThan(String value) {
            addCriterion("m_thumb >", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbGreaterThanOrEqualTo(String value) {
            addCriterion("m_thumb >=", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbLessThan(String value) {
            addCriterion("m_thumb <", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbLessThanOrEqualTo(String value) {
            addCriterion("m_thumb <=", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbLike(String value) {
            addCriterion("m_thumb like", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbNotLike(String value) {
            addCriterion("m_thumb not like", value, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbIn(List<String> values) {
            addCriterion("m_thumb in", values, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbNotIn(List<String> values) {
            addCriterion("m_thumb not in", values, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbBetween(String value1, String value2) {
            addCriterion("m_thumb between", value1, value2, "mThumb");
            return (Criteria) this;
        }

        public Criteria andMThumbNotBetween(String value1, String value2) {
            addCriterion("m_thumb not between", value1, value2, "mThumb");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Date value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Date value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Date value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Date> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Date> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}